public class Cat extends pet {
private int health=100;
public void sethealth(int input) {
    this.health=input;
}
public int gethealth() {
    return this.health;
}
private int happy=100;
public void sethappy(int input) {
    this.happy=input;
}
public int gethappy() {
    return this.happy;
}
}
